<?php

/**
 * 默认控制器
 * @author scabish
 * @since 2015-02-01 08:43:53
 */
class IndexController extends SCController {

    public function __construct() {
        parent::__construct();
    }

    public function index() {
        $this->view->render(get_defined_vars());
    }
    
    public function test($id) {
        $url = SCS::url()->create('control/action', array('id' => $id, 'b' => '你好'));
        echo $url;
    }
}